package dd.prog2.exercises.set07;

import java.text.DecimalFormat;

public abstract class Tank implements Cloneable{

	double pi = Math.PI;
	private String type;
	DecimalFormat df = new DecimalFormat("0.00");

	public abstract double calcSurface();
	public abstract double calcVolume();
	public abstract String toString();

	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}

	protected abstract Object clone() throws CloneNotSupportedException;


}
